package com.coolapk.mapper;

import com.coolapk.entity.Noticed;
import com.coolapk.entity.NoticedExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NoticedMapper {
    long countByExample(NoticedExample example);

    int deleteByExample(NoticedExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Noticed record);

    int insertSelective(Noticed record);

    List<Noticed> selectByExample(NoticedExample example);

    Noticed selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Noticed record, @Param("example") NoticedExample example);

    int updateByExample(@Param("record") Noticed record, @Param("example") NoticedExample example);

    int updateByPrimaryKeySelective(Noticed record);

    int updateByPrimaryKey(Noticed record);

    Integer noticedNum(Integer userId);

    Integer benoticedNum(Integer userId);
}